@charset "utf-8";
@import "reset";
@import "header";
@import "common";
@import "footer";

.container{
    width: 1000px;
}
@media(max-width:1000px){
    .container{
        width: auto;
    }
}
section{
    margin-top: 50px;
    @media(min-width:$pad){
        margin-top: 42px;
    }
    @media(min-width:$min-pc){
        margin-top: 50px;
    }
    
    .gameone{
//      padding-top:33px;
        padding-bottom: 62px;
        .container{
            background: url(../img/game/game1_05.png) no-repeat;
            background-position: 0 50%;
            position: relative;
                .hot{
                    height: 100px;
                    width: 40px;
                    position: absolute;
//                  display: table-cell;
                    top: 0;
                    left: 12px;
                    background: url(../img/game/hot_04.png);
                    text-align: center;
                    font-size: 19px;
                    color: white;
                    line-height: 25px;
                    padding-top: 25px;
                    vertical-align: middle;
                }
                .gameoneright{
                    margin-top: 33px;
                    p:first-of-type{
                        font-size: 30px;
                        line-height: 30px;
                        text-align: right;
                    }
                    p:nth-of-type(2){
                        font-size: 12px;
                        color: #898989;
                        line-height: 30px;
                        text-align: right;
                        margin-top: 9px;
                    }
                    .gameone-class{
                        .gameone-cell{
                            margin-top: 30px;
                            &:first-of-type,&:nth-of-type(2){
                                margin-top: 21px;
                            }
                            .gameone-warp{
                                width: 303px;
                                height: 133px;
                                position: relative;
                                img{
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    width: 100%;
                                    height: 100%;
                                }
                            }
                            @media(min-width:768px) and (max-width:950px){
                                .gameone-warp{
                                    width: 250px;
                                    height: 109.74px;
                                }
                            
                            
                            }
                            @media(max-width:700px){
                                .gameone-warp{
                                    width: 100%;
                                    height: auto;
                                    padding-top: 43.89%;
                                }
                            }
                        }
                        
                    }
                }
                @media(max-width:$pad){
                    .gameoneright{
                        margin-top: 120px;
                    }
                }
        }
        @media(max-width:$pad){
            .container{
                background: none;
            }
            
        }
        
        
    }
    
    .gametwo{
        padding-bottom: 62px;
        .container{
            background: url(../img/game/gametwo_26.png) no-repeat;
            background-position: 100% 100%; 
            position: relative;
                .hot{
                    height: 100px;
                    width: 40px;
                    position: absolute;
//                  display: table-cell;
                    top: 0;
                    left: 12px;
                    background: url(../img/game/hot_04.png);
                    text-align: center;
                    font-size: 19px;
                    color: white;
                    line-height: 25px;
                    padding-top: 25px;
                    vertical-align: middle;
                }
                .gameoneright{
                    margin-top: 33px;
                    p:first-of-type{
                        font-size: 30px;
                        line-height: 30px;
//                      text-align: right;
                    }
                    p:nth-of-type(2){
                        font-size: 12px;
                        color: #898989;
                        line-height: 30px;
//                      text-align: right;
                        margin-top: 9px;
                    }
                    .gameone-class{
                        .gameone-cell{
                            margin-top: 30px;
                            &:first-of-type,&:nth-of-type(2){
                                margin-top: 21px;
                            }
                            .gameone-warp{
                                width: 303px;
                                height: 133px;
                                position: relative;
                                img{
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    width: 100%;
                                    height: 100%;
                                }
                            }
                            @media(min-width:768px) and (max-width:950px){
                                .gameone-warp{
                                    width: 250px;
                                    height: 109.74px;
                                }
                            
                            
                            }
                            @media(max-width:700px){
                                .gameone-warp{
                                    width: 100%;
                                    height: auto;
                                    padding-top: 43.89%;
                                }
                            }
                        }
                        
                    }
                }
                @media(max-width:$pad){
                    .gameoneright{
                        margin-top: 120px;
                    }
                }
        }
        @media(max-width:$pad){
            .container{
                background: none;
            }
            
        }
    }
 
//更多案例
    .morecase{
        padding-bottom: 92px;
        .title{
            font-size: 36px;
        }
        .casecell{
            margin-top: 39px;
            
            .case-warp{
                width: 303px;
                height: 133px;
                position: relative;
                overflow: hidden;
                a{
                    width: 100%;
                    height: 100%;
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
//                  background-color: green;
                    z-index: 100;
                }
                &:hover>.case-mask{
                    transition: all 0.5s;
                    transform: translateY(0);
                }
                &:hover>img{
                    opacity: .9;
                }
                img{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;   
                    z-index: 9;
                }
                .case-mask{
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    transition: all 0.5s;
                    transform: translateY(-101%);
                    background-color: rgba(0,0,0,.7);
                    z-index: 10;
                    color: white;
                    font-size: 12px;
                    line-height: 20px;
                    padding: 9px 10px 0 10px; 
                }
                @media(max-width:$min-pc){
                    .case-mask{
                        display: none;
                    }
                }
            }
            @media(max-width:$min-pc) and (min-width:$pad){
                .case-warp{
                    width: 219.99px;
                    height: 96.68px;
                }
                
            }
            @media(max-width:670px){
                .case-warp{
                    width: 100%;
                    height: auto;
                    padding-top: 43.89%;
                }   
            }
            
            p{
                margin-top: 9px;
                line-height: 22px;
                font-size: 13px;
                text-align: center;
            }
        }
    }
//更多案例结束
}
